package com.jgzx.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author libo
 * @date 2021/8/13 10:47
 */
@ApiModel(value = "开启DTO")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OpenDTO {

    @ApiModelProperty(value = "主表主键")
    private Long hid;

    @ApiModelProperty(value = "行主键集合")
    @NotEmpty(message = "行主键集合不能为空")
    private List<Long> bIds;

}
